<?php
/**
 * 
 * @author akovalyov@gmail.com
 *
 */
Yii::import('zii.widgets.jui.CJuiDialog');

class Dialog extends CJuiDialog {
	
	public function init()
	{
		$this->options['width'] = '800';
		$this->options['open'] ='js:function() { $("#overlay").fadeIn(); }';
		$this->options['close'] ='js:function() { $("#overlay").fadeOut(); }';
		
		parent::init();
	}
	
	public function run() {
		parent::run();
	}
	
}